package com.zy.pro.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zy.core.service.impl.ServiceSupport;
import com.zy.pro.system.dao.EmployeeMapper;
import com.zy.pro.system.model.Employee;
import com.zy.pro.system.service.EmployeeService;
import com.zy.pro.system.web.form.GlobalForm;
@Service
public class EmployeeServiceImpl extends ServiceSupport<Employee> implements EmployeeService {

	@Autowired
    private EmployeeMapper<Employee> mapper;

	public EmployeeMapper<Employee> getMapper() {
		return mapper;
	}

	@Override
	public Employee findEmployeeNameAndPassword(Employee employee) {
		return mapper.findEmployeeNameAndPassword(employee);
	}

	@Override
	public Long findCheck(GlobalForm form) {
		return mapper.findCheck(form);
	}
		
	
}
